import { CardEditableParamsDefault } from "@/views/card/js/data/cardDatas/index.js";
import TooltipsData from "@/views/card/js/data/tooltipsData/tooltips-data.js";



/** CardEventsEditableParamsLists
 * [CardEventsEditableParamsLists description]
 * @type {Object}
 */
export const CardEventsEditableParamsLists = {
  // Lists / Obj / InputNormal / TextareaNormal / SliderNormal / SwitchNormal / ImageNormal / ColorNormal / DropdownNormal /
  FORWARD: {
    mid: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '博文Mid',
      placeholder: '请填入博文Mid',
    },
    text: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '转发文案',
      placeholder: '请填入转发文案',
    },
  },
  VOTE: {
    site_id: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '站点 ID',
      placeholder: '站点 ID',
      disabled: true,
    },
    vote_id: {
      // ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      // label: '投票Id',
      // placeholder: '请填入投票Id（不能为空）',

      ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
      label: '投票Id',
      placeholder: '请选择 Order，默认 “1”',
      valLists: [
        {
          name: '默认 1',  // default
          value: '1',
        },
      ],
    },
    text: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '博文内容',
      placeholder: '不能为空;含链接/特殊符号#&?格式: {{$话题词$内容...}}',
    },
    event_order: {
      ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
      label: '票项 Order',
      placeholder: '请选择 Order，默认 “1”',
      valLists: [
        {
          name: '默认 1',  // default
          value: '1',
        },
      ],
    },
    pic_ids: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '图片组',
      placeholder: '请填入博文图片组',
      disabled: true,
    },
  },
  WB_REPOST: {
    mid: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '博文Mid',
      placeholder: '请填入博文Mid',
    },
    text: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '转发文案',
      placeholder: '请填入转发文案',
    },
    event_order: {
      ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
      label: 'Elements Order',
      placeholder: '请选择 Order，默认 “1”',
      valLists: [
        {
          name: '默认 1',  // default
          value: '1',
        },
      ],
    },
  },
  WB_FOLLOW: {
    follow_uids: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '关注 uids',
      placeholder: '多个 uid 用半角逗号( , )隔开',
    },
  },
  WB_PRAISE: {
    mid: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '博文Mid',
      placeholder: '请填入博文Mid',
    },
  },
  WB_PUSH: {
    text: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '内容',
      placeholder: '请填入博文内容（不能为空）',
    },
    event_order: {
      ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
      label: '私有博文图片 Order',
      placeholder: '请选择 Order，默认 “1”',
      valLists: [
        {
          name: '默认 1',  // default
          value: '1',
        },
      ],
    },
    pic_ids: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '图片组',
      placeholder: '请填入博文图片组',
      disabled: true,
    },
  },
  SIGN: {
    vote_id: {
      // ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      // label: '投票Id',
      // placeholder: '请填入投票Id（不能为空）',

      ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
      label: '投票Id',
      placeholder: '请选择 Order，默认 “1”',
      valLists: [
        {
          name: '默认 1',  // default
          value: '1',
        },
      ],
    },
    event_order: {
      ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
      label: '票项 Order',
      placeholder: '请选择 Order，默认 “1”',
      valLists: [
        {
          name: '默认 1',  // default
          value: '1',
        },
      ],
    },
    h5_site_id: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: 'H5关联站点 Id',
      placeholder: '请填入关联站点Id',
    },
    h5_com_id: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: 'H5关联组件 Id',
      placeholder: '请填入关联组件Id',
    },
    text: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '博文内容',
      placeholder: '不能为空;含链接/特殊符号#&?格式: {{$话题词$内容...}}',
    },
    pic_ids: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '图片组',
      placeholder: '请填入博文图片组',
      disabled: true,
    },
  },
  UNLOCK: {
    site_id: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '站点 ID',
      placeholder: '站点 ID',
      disabled: true,
    },
    vote_id: {
      // ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      // label: '投票Id',
      // placeholder: '请填入投票Id（不能为空）',

      ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
      label: '投票Id',
      placeholder: '请选择 Order，默认 “1”',
      valLists: [
        {
          name: '默认 1',  // default
          value: '1',
        },
      ],
    },
    text: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '博文内容',
      placeholder: '不能为空;含链接/特殊符号#&?格式: {{$话题词$内容...}}',
    },
    event_order: {
      ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
      label: '票项 Order',
      placeholder: '请选择 Order，默认 “1”',
      valLists: [
        {
          name: '默认 1',  // default
          value: '1',
        },
      ],
    },
    pic_ids: {
      ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
      label: '图片组',
      placeholder: '请填入博文图片组',
      disabled: true,
    },
  },
};



/** CardEventsEditableParamsLists4EventData
 * [CardEventsEditableParamsLists4EventData description]
 * @type {Object}
 */
export const CardEventsEditableParamsLists4EventData = {
  VOTE: {
    pic_ids: {
      ..._.cloneDeep(CardEditableParamsDefault.ImagePidNormal),
      label: '博文图片',
      placeholder: '尺寸严格按照设置的宽高，小于700kb，jpg,jpeg,png,gif格式',
      limit: 1,
      size: 700,
      accept: '.jpg, .jpeg, .png, .gif',
      // suffix: '_default',
    },
    bis_pic_random: {
      ..._.cloneDeep(CardEditableParamsDefault.SwitchNormal),
      label: '随机选图(是|否)',
    },
    day_limit: {
      ..._.cloneDeep(CardEditableParamsDefault.SliderNormal),
      label: '个人投票上限',
      step: 1,
      max: 100,
      min: 0,
    },
    elements: {
      ..._.cloneDeep(CardEditableParamsDefault.Lists),
      label: '票项',
      param_params: {
        base: {
          ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
          label: '已投票基数',
          placeholder: '请填入已投票基数',
          type: 'number',

          // ..._.cloneDeep(CardEditableParamsDefault.SliderNormal),
          // label: '已投票基数',
          // step: 1,
          // max: 10000,
          // min: 0,
        },
        total: {
          ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
          label: '总投票上限',
          placeholder: '请填入总投票上限',
        },
        num: {
          ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
          label: '已投票总数',
          placeholder: '请填入已投票总数',
        },
        progress: {
          ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
          label: '投票进度',
          placeholder: '请填入投票进度',
        },
        pic_ids: {
          ..._.cloneDeep(CardEditableParamsDefault.ImagePidNormal),
          label: '博文图片',
          placeholder: '尺寸严格按照设置的宽高，小于700kb，jpg,jpeg,png,gif格式',
          limit: 9,
          size: 700,
          accept: '.jpg, .jpeg, .png, .gif',
          tooltips: TooltipsData.event.public[0],
          // suffix: '_default',
        },
        button: {
          ..._.cloneDeep(CardEditableParamsDefault.Obj),
          label: '操作后按钮样式',
          limit: 1,
          param_params: {
            name: {
              ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
              label: '按钮名称',
              placeholder: '请填入按钮名称',
            },
            pic: {
              ..._.cloneDeep(CardEditableParamsDefault.ImageNormal),
              label: '按钮图标',
              res_type: 'String',  // Array : fileList, String : value
              placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
              limit: 1,
              size: 100,
              accept: '.png',
            },
            pic_default: {
              ..._.cloneDeep(CardEditableParamsDefault.ImageNormal),
              label: '按钮图标(同上)',
              res_type: 'String',  // Array : fileList, String : value
              placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
              limit: 1,
              size: 100,
              accept: '.png',
              suffix: '_default',
            },
            type: {
              ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
              label: '按钮类型',
              placeholder: '请选择按钮类型',
              valLists: [
                {
                  name: '默认',  // 默认类型
                  value: 'default',
                },
                {
                  name: '链接',  // 默认类型
                  value: 'link',
                },
              ],
            },
            params: {
              ..._.cloneDeep(CardEditableParamsDefault.Obj),
              label: '按钮其他参数',
              param_params: {
                scheme: {
                  ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
                  label: '跳转链接',
                  placeholder: '请选择跳转链接',
                },
                action: {
                  ..._.cloneDeep(CardEditableParamsDefault.Action),
                  label: '按钮事件',
                  placeholder: '请选择按钮事件',
                  disabled: true,
                },
              },

              param_effect_parent: {
                effect_parent_keys: ['elements', 'ARRAY_NUM', 'button', 'type'],
                effect_type: ['CHANGE_PARAMS'],
                effect_parent_val: '1',
                effect_clear: {
                  effect_clear_default_val: {},
                },
                effect_obj_params: [
                  {
                    effect_regular: new RegExp("^link$"),
                    effect_new_obj_params: {
                      scheme: '',
                    },
                  },
                  {
                    effect_regular: new RegExp("^default$"),
                    effect_new_obj_params: {
                      action: '',
                    },
                  },
                ],
              },
            },
          },

          // param_effect_parent: {
          //   effect_parent_keys: ['bIsReplaceButton'],
          //   effect_type: ['SHOW_HIDE', 'ADD_ITEM'],
          //   effect_parent_val: '1',
          //   effect_clear: {
          //     effect_clear_default_val: [],
          //   },
          // },
        },
      },
    },
  },
  WB_REPOST: {
    elements: {
      ..._.cloneDeep(CardEditableParamsDefault.Lists),
      label: '配置项',
      param_params: {
        button: {
          ..._.cloneDeep(CardEditableParamsDefault.Obj),
          label: '操作后按钮样式',
          limit: 1,
          param_params: {
            name: {
              ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
              label: '按钮名称',
              placeholder: '请填入按钮名称',
            },
            pic: {
              ..._.cloneDeep(CardEditableParamsDefault.ImageNormal),
              label: '按钮图标',
              res_type: 'String',  // Array : fileList, String : value
              placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
              limit: 1,
              size: 100,
              accept: '.png',
            },
            pic_default: {
              ..._.cloneDeep(CardEditableParamsDefault.ImageNormal),
              label: '按钮图标(同上)',
              res_type: 'String',  // Array : fileList, String : value
              placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
              limit: 1,
              size: 100,
              accept: '.png',
              suffix: '_default',
            },
            type: {
              ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
              label: '按钮类型',
              placeholder: '请选择按钮类型',
              valLists: [
                {
                  name: '默认',  // 默认类型
                  value: 'default',
                },
                {
                  name: '链接',  // 默认类型
                  value: 'link',
                },
              ],
            },
            params: {
              ..._.cloneDeep(CardEditableParamsDefault.Obj),
              label: '按钮其他参数',
              param_params: {
                scheme: {
                  ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
                  label: '跳转链接',
                  placeholder: '请选择跳转链接',
                },
                action: {
                  ..._.cloneDeep(CardEditableParamsDefault.Action),
                  label: '按钮事件',
                  placeholder: '请选择按钮事件',
                  disabled: true,
                },
              },

              param_effect_parent: {
                effect_parent_keys: ['elements', 'ARRAY_NUM', 'button', 'type'],
                effect_type: ['CHANGE_PARAMS'],
                effect_parent_val: '1',
                effect_clear: {
                  effect_clear_default_val: {},
                },
                effect_obj_params: [
                  {
                    effect_regular: new RegExp("^link$"),
                    effect_new_obj_params: {
                      scheme: '',
                    },
                  },
                  {
                    effect_regular: new RegExp("^default$"),
                    effect_new_obj_params: {
                      action: '',
                    },
                  },
                ],
              },
            },
          },

          // param_effect_parent: {
          //   effect_parent_keys: ['bIsReplaceButton'],
          //   effect_type: ['SHOW_HIDE', 'ADD_ITEM'],
          //   effect_parent_val: '1',
          //   effect_clear: {
          //     effect_clear_default_val: [],
          //   },
          // },
        },
      },
    },
  },
  WB_PUSH: {
    elements: {
      ..._.cloneDeep(CardEditableParamsDefault.Lists),
      label: '私有博文图片',
      param_params: {
        pic_ids: {
          ..._.cloneDeep(CardEditableParamsDefault.ImagePidNormal),
          label: '博文图片',
          placeholder: '尺寸严格按照设置的宽高，小于700kb，jpg,jpeg,png,gif格式',
          limit: 9,
          size: 700,
          accept: '.jpg, .jpeg, .png, .gif',
          // suffix: '_default',
        },
        button: {
          ..._.cloneDeep(CardEditableParamsDefault.Obj),
          label: '操作后按钮样式',
          limit: 1,
          param_params: {
            name: {
              ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
              label: '按钮名称',
              placeholder: '请填入按钮名称',
            },
            pic: {
              ..._.cloneDeep(CardEditableParamsDefault.ImageNormal),
              label: '按钮图标',
              res_type: 'String',  // Array : fileList, String : value
              placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
              limit: 1,
              size: 100,
              accept: '.png',
            },
            pic_default: {
              ..._.cloneDeep(CardEditableParamsDefault.ImageNormal),
              label: '按钮图标(同上)',
              res_type: 'String',  // Array : fileList, String : value
              placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
              limit: 1,
              size: 100,
              accept: '.png',
              suffix: '_default',
            },
            type: {
              ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
              label: '按钮类型',
              placeholder: '请选择按钮类型',
              valLists: [
                {
                  name: '默认',  // 默认类型
                  value: 'default',
                },
                {
                  name: '链接',  // 默认类型
                  value: 'link',
                },
              ],
            },
            params: {
              ..._.cloneDeep(CardEditableParamsDefault.Obj),
              label: '按钮其他参数',
              param_params: {
                scheme: {
                  ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
                  label: '跳转链接',
                  placeholder: '请选择跳转链接',
                },
                action: {
                  ..._.cloneDeep(CardEditableParamsDefault.Action),
                  label: '按钮事件',
                  placeholder: '请选择按钮事件',
                  disabled: true,
                },
              },

              param_effect_parent: {
                effect_parent_keys: ['elements', 'ARRAY_NUM', 'button', 'type'],
                effect_type: ['CHANGE_PARAMS'],
                effect_parent_val: '1',
                effect_clear: {
                  effect_clear_default_val: {},
                },
                effect_obj_params: [
                  {
                    effect_regular: new RegExp("^link$"),
                    effect_new_obj_params: {
                      scheme: '',
                    },
                  },
                  {
                    effect_regular: new RegExp("^default$"),
                    effect_new_obj_params: {
                      action: '',
                    },
                  },
                ],
              },
            },
          },

          // param_effect_parent: {
          //   effect_parent_keys: ['bIsReplaceButton'],
          //   effect_type: ['SHOW_HIDE', 'ADD_ITEM'],
          //   effect_parent_val: '1',
          //   effect_clear: {
          //     effect_clear_default_val: [],
          //   },
          // },
        },
      },
    },
    pic_ids: {
      ..._.cloneDeep(CardEditableParamsDefault.ImagePidNormal),
      label: '公有博文图片',
      placeholder: '尺寸严格按照设置的宽高，小于700kb，jpg,jpeg,png,gif格式',
      limit: 9,
      size: 700,
      accept: '.jpg, .jpeg, .png, .gif',
      tooltips: TooltipsData.event.public[0],
      // suffix: '_default',
    },
    bis_pic_random: {
      ..._.cloneDeep(CardEditableParamsDefault.SwitchNormal),
      label: '随机选图(是|否)',
    },
  },
  SIGN: {
    elements: {
      ..._.cloneDeep(CardEditableParamsDefault.Lists),
      label: '计数选项',
      limit: 1,
      param_params: {
        // bIsReplaceButton: {
        //   ..._.cloneDeep(CardEditableParamsDefault.SwitchNormal),
        //   label: '替换按钮参数(是|否)',
        // },
        // h5_site_id: {
        //   ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
        //   label: 'H5关联站点 Id',
        //   placeholder: '请填入关联站点Id',
        // },
        // h5_com_id: {
        //   ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
        //   label: 'H5关联组件 Id',
        //   placeholder: '请填入关联组件Id',
        // },
        pic_ids: {
          ..._.cloneDeep(CardEditableParamsDefault.ImagePidNormal),
          label: '博文图片',
          placeholder: '尺寸严格按照设置的宽高，小于700kb，jpg,jpeg,png,gif格式',
          limit: 9,
          size: 700,
          accept: '.jpg, .jpeg, .png, .gif',
          tooltips: TooltipsData.event.public[0],
          // suffix: '_default',
        },
        button: {
          ..._.cloneDeep(CardEditableParamsDefault.Obj),
          label: '操作后按钮样式',
          limit: 1,
          param_params: {
            name: {
              ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
              label: '按钮名称',
              placeholder: '请填入按钮名称',
            },
            pic: {
              ..._.cloneDeep(CardEditableParamsDefault.ImageNormal),
              label: '按钮图标',
              res_type: 'String',  // Array : fileList, String : value
              placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
              limit: 1,
              size: 100,
              accept: '.png',
            },
            pic_default: {
              ..._.cloneDeep(CardEditableParamsDefault.ImageNormal),
              label: '按钮图标(同上)',
              res_type: 'String',  // Array : fileList, String : value
              placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
              limit: 1,
              size: 100,
              accept: '.png',
              suffix: '_default',
            },
            type: {
              ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
              label: '按钮类型',
              placeholder: '请选择按钮类型',
              valLists: [
                {
                  name: '默认',  // 默认类型
                  value: 'default',
                },
                {
                  name: '链接',  // 默认类型
                  value: 'link',
                },
              ],
            },
            params: {
              ..._.cloneDeep(CardEditableParamsDefault.Obj),
              label: '按钮其他参数',
              param_params: {
                scheme: {
                  ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
                  label: '跳转链接',
                  placeholder: '请选择跳转链接',
                },
                action: {
                  ..._.cloneDeep(CardEditableParamsDefault.Action),
                  label: '按钮事件',
                  placeholder: '请选择按钮事件',
                  disabled: true,
                },
              },

              param_effect_parent: {
                effect_parent_keys: ['elements', 'ARRAY_NUM', 'button', 'type'],
                effect_type: ['CHANGE_PARAMS'],
                effect_parent_val: '1',
                effect_clear: {
                  effect_clear_default_val: {},
                },
                effect_obj_params: [
                  {
                    effect_regular: new RegExp("^link$"),
                    effect_new_obj_params: {
                      scheme: '',
                    },
                  },
                  {
                    effect_regular: new RegExp("^default$"),
                    effect_new_obj_params: {
                      action: '',
                    },
                  },
                ],
              },
            },
          },

          // param_effect_parent: {
          //   effect_parent_keys: ['bIsReplaceButton'],
          //   effect_type: ['SHOW_HIDE', 'ADD_ITEM'],
          //   effect_parent_val: '1',
          //   effect_clear: {
          //     effect_clear_default_val: [],
          //   },
          // },
        },
      },
    },
  },
  UNLOCK: {
    pic_ids: {
      ..._.cloneDeep(CardEditableParamsDefault.ImagePidNormal),
      label: '博文图片',
      placeholder: '尺寸严格按照设置的宽高，小于700kb，jpg,jpeg,png,gif格式',
      limit: 1,
      size: 700,
      accept: '.jpg, .jpeg, .png, .gif',
      // suffix: '_default',
    },
    bis_pic_random: {
      ..._.cloneDeep(CardEditableParamsDefault.SwitchNormal),
      label: '随机选图(是|否)',
    },
    day_limit: {
      ..._.cloneDeep(CardEditableParamsDefault.SliderNormal),
      label: '个人投票上限',
      step: 1,
      max: 100,
      min: 0,
    },
    elements: {
      ..._.cloneDeep(CardEditableParamsDefault.Lists),
      label: '票项',
      param_params: {
        base: {
          ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
          label: '已投票基数',
          placeholder: '请填入已投票基数',
          type: 'number',

          // ..._.cloneDeep(CardEditableParamsDefault.SliderNormal),
          // label: '已投票基数',
          // step: 1,
          // max: 10000,
          // min: 0,
        },
        total: {
          ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
          label: '总投票上限',
          placeholder: '请填入总投票上限',
        },
        num: {
          ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
          label: '已投票总数',
          placeholder: '请填入已投票总数',
        },
        progress: {
          ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
          label: '投票进度',
          placeholder: '请填入投票进度',
        },
        pic_ids: {
          ..._.cloneDeep(CardEditableParamsDefault.ImagePidNormal),
          label: '博文图片',
          placeholder: '尺寸严格按照设置的宽高，小于700kb，jpg,jpeg,png,gif格式',
          limit: 9,
          size: 700,
          accept: '.jpg, .jpeg, .png, .gif',
          tooltips: TooltipsData.event.public[0],
          // suffix: '_default',
        },
        button: {
          ..._.cloneDeep(CardEditableParamsDefault.Obj),
          label: '操作后按钮样式',
          limit: 1,
          param_params: {
            name: {
              ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
              label: '按钮名称',
              placeholder: '请填入按钮名称',
            },
            pic: {
              ..._.cloneDeep(CardEditableParamsDefault.ImageNormal),
              label: '按钮图标',
              res_type: 'String',  // Array : fileList, String : value
              placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
              limit: 1,
              size: 100,
              accept: '.png',
            },
            pic_default: {
              ..._.cloneDeep(CardEditableParamsDefault.ImageNormal),
              label: '按钮图标(同上)',
              res_type: 'String',  // Array : fileList, String : value
              placeholder: '尺寸严格按照设置的宽高，小于100kb，png格式',
              limit: 1,
              size: 100,
              accept: '.png',
              suffix: '_default',
            },
            type: {
              ..._.cloneDeep(CardEditableParamsDefault.DropdownNormal),
              label: '按钮类型',
              placeholder: '请选择按钮类型',
              valLists: [
                {
                  name: '默认',  // 默认类型
                  value: 'default',
                },
                {
                  name: '链接',  // 默认类型
                  value: 'link',
                },
              ],
            },
            params: {
              ..._.cloneDeep(CardEditableParamsDefault.Obj),
              label: '按钮其他参数',
              param_params: {
                scheme: {
                  ..._.cloneDeep(CardEditableParamsDefault.InputNormal),
                  label: '跳转链接',
                  placeholder: '请选择跳转链接',
                },
                action: {
                  ..._.cloneDeep(CardEditableParamsDefault.Action),
                  label: '按钮事件',
                  placeholder: '请选择按钮事件',
                  disabled: true,
                },
              },

              param_effect_parent: {
                effect_parent_keys: ['elements', 'ARRAY_NUM', 'button', 'type'],
                effect_type: ['CHANGE_PARAMS'],
                effect_parent_val: '1',
                effect_clear: {
                  effect_clear_default_val: {},
                },
                effect_obj_params: [
                  {
                    effect_regular: new RegExp("^link$"),
                    effect_new_obj_params: {
                      scheme: '',
                    },
                  },
                  {
                    effect_regular: new RegExp("^default$"),
                    effect_new_obj_params: {
                      action: '',
                    },
                  },
                ],
              },
            },
          },

          // param_effect_parent: {
          //   effect_parent_keys: ['bIsReplaceButton'],
          //   effect_type: ['SHOW_HIDE', 'ADD_ITEM'],
          //   effect_parent_val: '1',
          //   effect_clear: {
          //     effect_clear_default_val: [],
          //   },
          // },
        },
      },
    },
  },
};



/** CardEventsEditableParamsLists4EventData4ListAdd
 * [CardEventsEditableParamsLists4EventData4ListAdd description]
 * @type {Object}
 */
export const CardEventsEditableParamsLists4EventData4ListAdd = {
  VOTE: {
    elements: [
      {
        base: 0,
        total: 0,
        num: 0,
        progress: 0,
        pic_ids: [],
      },
    ],
  },
  WB_REPOST: {
    elements: [
      {},
    ],
  },
  WB_PUSH: {
    elements: [
      {
        pic_ids: [],
      },
    ],
  },
  SIGN: {
    elements: [
      {
        // bIsReplaceButton: true,
        pic_ids: [],
        h5_com_id: '',  // dba36830-4c0b-48b6-9ce4-70f43378a663
        h5_site_id: '',  // 1372
      },
    ],
  },
  UNLOCK: {
    elements: [
      {
        base: 0,
        total: 0,
        num: 0,
        progress: 0,
        pic_ids: [],
      },
    ],
  },
};
